<div id="main_layout02">
<form name="frm_Yachinsouba" id="frm_Yachinsouba" method="post" action="{$apm.baseurl}search/{$form_act}">
<h2>{$h1_title}</h2>

<div class="btnBlock"><!-- btnBlock -->
<ul>
{if $type == 4}<li><img src="/search_share/yachin/images/share/btn_house_o.gif" alt="借家・賃貸一戸建て" width="176" height="44"/></li>
{else}<li><a href="javascript:void(0)" onClick="javascript:ChangePage('4')"><img src="/search_share/yachin/images/share/btn_house.gif" alt="借家・賃貸一戸建て" width="176" height="44" class="rollImg" /></a></li>{/if}
{if $type == 3}<li><img src="/search_share/yachin/images/share/btn_apart_o.gif" alt="賃貸アパート" width="176" height="44"/></li>
{else}<li><a href="javascript:void(0)" onClick="javascript:ChangePage('3')"><img src="/search_share/yachin/images/share/btn_apart.gif" alt="賃貸アパート" width="176" height="44" class="rollImg" /></a></li>{/if}
{if $type == 2}<li><img src="/search_share/yachin/images/share/btn_mansion_o.gif" alt="賃貸マンション" width="176" height="44"/></li>
{else}<li><a href="javascript:void(0)" onClick="javascript:ChangePage('2')" ><img src="/search_share/yachin/images/share/btn_mansion.gif" alt="賃貸マンション" width="176" height="44" class="rollImg" /></a></li>{/if}
{if $type == 1}<li><img src="/search_share/yachin/images/share/btn_all_o.gif" alt="全体" width="176" height="44"/></li>
{else}<li><a href="javascript:void(0)" onClick="javascript:ChangePage('1')" ><img src="/search_share/yachin/images/share/btn_all.gif" alt="全体" width="176" height="44" class="rollImg" /></a></li>{/if}
</ul>
</div><!-- /btnBlock -->

<div id="useBlock"><!-- useBlock -->
<ul>
<li>賃料をクリックすると物件一覧を表示します。</li>
<li>{if $SrhType==1}地域{else}駅{/if}をクリックするとより詳しく確認できます。</li>
</ul>
</div><!-- /useBlock -->

<div id="tableBlock"><!-- tableBlock -->
<div class="iconBlock">
<ul class="icon">
<li class="first"><img src="/search_share/yachin/images/share/img_low.gif" alt="最安値" width="67" height="26" /></li>
<li class="last"><img src="/search_share/yachin/images/share/img_high.gif" alt="最高値" width="67" height="26" /></li>
</ul>
</div>
<p class="unit">単位：万円</p>
</div>
<!-- /rentSelectBtnBlock -->

<!-- rentMarketTbl01
<div id="rentMarketTbl01"> -->
<table class="data" width="100%" cellspacing="0" cellpadding="0" border="0">
<colgroup>
<col width="148" />
<col width="99" />
<col width="99" />
<col width="99" />
<col width="99" />
<col width="99" />
<col width="99" />
<col width="99" />
<col width="99" />
</colgroup>
<thead>
<tr>
<th class="center">{if $SrhType==1}地域{else}駅{/if}
<ul><li>{if $sortKey == 0 && $sortValue == 1}<img src="/search_share/yachin/images/share/{if $SrhType==1}btn_sortarea_o.gif{else}btn_station_o.gif{/if}" width="91" height="17" alt="{if $SrhType==1}地域{else}駅{/if}順に並べ替え" />
{else}<a href="javascript:PriceSort(1,0)"><img src="/search_share/yachin/images/share/{if $SrhType==1}btn_sortarea.gif{else}btn_station.gif{/if}" onmouseover="this.src='/search_share/yachin/images/share/{if $SrhType==1}btn_sortarea_o.gif{else}btn_station_o.gif{/if}'" onmouseout="this.src='/search_share/yachin/images/share/{if $SrhType==1}btn_sortarea.gif{else}btn_station.gif{/if}'" width="91" height="17" alt="{if $SrhType==1}地域{else}駅{/if}に並び替え" /></a>{/if}
</th>
<th class="center">1R
<ul>
<li>{if $sortKey == 1 && $sortValue == 1}<img src="/search_share/yachin/images/share/btn_sortlow_o.gif" width="43" height="17" alt="安い順に並び替え" />
{else}<a href="javascript:PriceSort(1,1)" ><img src="/search_share/yachin/images/share/btn_sortlow.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sortlow_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sortlow.gif'" width="43" height="17" alt="安い順に並び替え" /></a>{/if}</li>
<li class="last">{if $sortKey == 1 && $sortValue != 1}<img src="/search_share/yachin/images/share/btn_sorthigh_o.gif" width="43" height="17" alt="高い順に並び替え" />
{else}<a href="javascript:PriceSort(2,1)" ><img src="/search_share/yachin/images/share/btn_sorthigh.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sorthigh_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sorthigh.gif'" width="43" height="17" alt="高い順に並び替え" /></a>{/if}</li>
</ul>
</th>
<th class="center">1K/1DK
<ul>
<li>{if $sortKey == 2 && $sortValue == 1}<img src="/search_share/yachin/images/share/btn_sortlow_o.gif" width="43" height="17" alt="安い順に並び替え" />
{else}<a href="javascript:PriceSort(1,2)" ><img src="/search_share/yachin/images/share/btn_sortlow.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sortlow_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sortlow.gif'" width="43" height="17" alt="安い順に並び替え" /></a>{/if}</li>
<li class="last">{if $sortKey == 2 && $sortValue != 1}<img src="/search_share/yachin/images/share/btn_sorthigh_o.gif" width="43" height="17" alt="高い順に並び替え" />
{else}<a href="javascript:PriceSort(2,2)" ><img src="/search_share/yachin/images/share/btn_sorthigh.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sorthigh_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sorthigh.gif'" width="43" height="17" alt="高い順に並び替え" /></a>{/if}</li>
</ul>
</th>
<th class="center">1LDK
<ul>
<li>{if $sortKey == 3 && $sortValue == 1}<img src="/search_share/yachin/images/share/btn_sortlow_o.gif" width="43" height="17" alt="安い順に並び替え" />
{else}<a href="javascript:PriceSort(1,3)" ><img src="/search_share/yachin/images/share/btn_sortlow.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sortlow_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sortlow.gif'" width="43" height="17" alt="安い順に並び替え" /></a>{/if}</li>
<li class="last">{if $sortKey == 3 && $sortValue != 1}<img src="/search_share/yachin/images/share/btn_sorthigh_o.gif" width="43" height="17" alt="高い順に並び替え" />
{else}<a href="javascript:PriceSort(2,3)" ><img src="/search_share/yachin/images/share/btn_sorthigh.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sorthigh_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sorthigh.gif'" width="43" height="17" alt="高い順に並び替え" /></a>{/if}</li>
</ul>
</th>
<th class="center">2K/2DK
<ul>
<li>{if $sortKey == 4 && $sortValue == 1}<img src="/search_share/yachin/images/share/btn_sortlow_o.gif" width="43" height="17" alt="安い順に並び替え" />
{else}<a href="javascript:PriceSort(1,4)" ><img src="/search_share/yachin/images/share/btn_sortlow.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sortlow_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sortlow.gif'" width="43" height="17" alt="安い順に並び替え" /></a>{/if}</li>
<li class="last">{if $sortKey == 4 && $sortValue != 1}<img src="/search_share/yachin/images/share/btn_sorthigh_o.gif" width="43" height="17" alt="高い順に並び替え" />
{else}<a href="javascript:PriceSort(2,4)" ><img src="/search_share/yachin/images/share/btn_sorthigh.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sorthigh_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sorthigh.gif'" width="43" height="17" alt="高い順に並び替え" /></a>{/if}</li>
</ul>
</th>
<th class="center">2LDK
<ul>
<li>{if $sortKey == 5 && $sortValue == 1}<img src="/search_share/yachin/images/share/btn_sortlow_o.gif" width="43" height="17" alt="安い順に並び替え" />
{else}<a href="javascript:PriceSort(1,5)" ><img src="/search_share/yachin/images/share/btn_sortlow.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sortlow_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sortlow.gif'" width="43" height="17" alt="安い順に並び替え" /></a>{/if}</li>
<li class="last">{if $sortKey == 5 && $sortValue != 1}<img src="/search_share/yachin/images/share/btn_sorthigh_o.gif" width="43" height="17" alt="高い順に並び替え" />
{else}<a href="javascript:PriceSort(2,5)" ><img src="/search_share/yachin/images/share/btn_sorthigh.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sorthigh_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sorthigh.gif'" width="43" height="17" alt="高い順に並び替え" /></a>{/if}</li>
</ul>
</th>
<th class="center">3K/3DK
<ul>
<li>{if $sortKey == 6 && $sortValue == 1}<img src="/search_share/yachin/images/share/btn_sortlow_o.gif" width="43" height="17" alt="安い順に並び替え" />
{else}<a href="javascript:PriceSort(1,6)" ><img src="/search_share/yachin/images/share/btn_sortlow.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sortlow_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sortlow.gif'" width="43" height="17" alt="安い順に並び替え" /></a>{/if}</li>
<li class="last">{if $sortKey == 6 && $sortValue != 1}<img src="/search_share/yachin/images/share/btn_sorthigh_o.gif" width="43" height="17" alt="高い順に並び替え" />
{else}<a href="javascript:PriceSort(2,6)" ><img src="/search_share/yachin/images/share/btn_sorthigh.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sorthigh_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sorthigh.gif'" width="43" height="17" alt="高い順に並び替え" /></a>{/if}</li>
</ul>
</th>
<th class="center">3LDK
<ul>
<li>{if $sortKey == 7 && $sortValue == 1}<img src="/search_share/yachin/images/share/btn_sortlow_o.gif" width="43" height="17" alt="安い順に並び替え" />
{else}<a href="javascript:PriceSort(1,7)" ><img src="/search_share/yachin/images/share/btn_sortlow.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sortlow_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sortlow.gif'" width="43" height="17" alt="安い順に並び替え" /></a>{/if}</li>
<li class="last">{if $sortKey == 7 && $sortValue != 1}<img src="/search_share/yachin/images/share/btn_sorthigh_o.gif" width="43" height="17" alt="高い順に並び替え" />
{else}<a href="javascript:PriceSort(2,7)" ><img src="/search_share/yachin/images/share/btn_sorthigh.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sorthigh_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sorthigh.gif'" width="43" height="17" alt="高い順に並び替え" /></a>{/if}</li>
</ul>
</th>
<th class="center">4K～
<ul>
<li>{if $sortKey == 8 && $sortValue == 1}<img src="/search_share/yachin/images/share/btn_sortlow_o.gif" width="43" height="17" alt="安い順に並び替え" />
{else}<a href="javascript:PriceSort(1,8)" ><img src="/search_share/yachin/images/share/btn_sortlow.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sortlow_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sortlow.gif'" width="43" height="17" alt="安い順に並び替え" /></a>{/if}</li>
<li class="last">{if $sortKey == 8 && $sortValue != 1}<img src="/search_share/yachin/images/share/btn_sorthigh_o.gif" width="43" height="17" alt="高い順に並び替え" />
{else}<a href="javascript:PriceSort(2,8)" ><img src="/search_share/yachin/images/share/btn_sorthigh.gif" onmouseover="this.src='/search_share/yachin/images/share/btn_sorthigh_o.gif'" onmouseout="this.src='/search_share/yachin/images/share/btn_sorthigh.gif'" width="43" height="17" alt="高い順に並び替え" /></a>{/if}</li>
</ul>
</th>
</tr>
</thead>
<tbody>
{foreach from=$yachinsouba item=record name=info key=KeyCd}
<tr>
<td class="area"><a href="javascript:DetailPage2({$SrhType},'{$KeyCd}','1','1','{$type}')">{$record.KEY_NAME}</a></td>
{if $record.SOBA.1R.YACHIN_AVG == ""}<td>-</td>
{else}<td {if $record.SOBA.1R.MIN_FLG == 1}class="lowest"{/if}{if $record.SOBA.1R.MAX_FLG == 1}class="highest"{/if}><a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 1, {$type})">{$record.SOBA.1R.YACHIN_AVG}</a></td>{/if}
{if $record.SOBA.1K.YACHIN_AVG == ""}<td>-</td>
{else}<td {if $record.SOBA.1K.MIN_FLG == 1}class="lowest"{/if}{if $record.SOBA.1K.MAX_FLG == 1}class="highest"{/if}><a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 2, {$type})">{$record.SOBA.1K.YACHIN_AVG}</a></td>{/if}
{if $record.SOBA.1LDK.YACHIN_AVG == ""}<td>-</td>
{else}<td {if $record.SOBA.1LDK.MIN_FLG == 1}class="lowest"{/if}{if $record.SOBA.1LDK.MAX_FLG == 1}class="highest"{/if}><a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 3, {$type})">{$record.SOBA.1LDK.YACHIN_AVG}</a></td>{/if}
{if $record.SOBA.2K.YACHIN_AVG == ""}<td>-</td>
{else}<td {if $record.SOBA.2K.MIN_FLG == 1}class="lowest"{/if}{if $record.SOBA.2K.MAX_FLG == 1}class="highest"{/if}><a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 4, {$type})">{$record.SOBA.2K.YACHIN_AVG}</a></td>{/if}
{if $record.SOBA.2LDK.YACHIN_AVG == ""}<td>-</td>
{else}<td {if $record.SOBA.2LDK.MIN_FLG == 1}class="lowest"{/if}{if $record.SOBA.2LDK.MAX_FLG == 1}class="highest"{/if}><a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 5, {$type})">{$record.SOBA.2LDK.YACHIN_AVG}</a></td>{/if}
{if $record.SOBA.3K.YACHIN_AVG == ""}<td>-</td>
{else}<td {if $record.SOBA.3K.MIN_FLG == 1}class="lowest"{/if}{if $record.SOBA.3K.MAX_FLG == 1}class="highest"{/if}><a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 6, {$type})">{$record.SOBA.3K.YACHIN_AVG}</a></td>{/if}
{if $record.SOBA.3LDK.YACHIN_AVG == ""}<td>-</td>
{else}<td {if $record.SOBA.3LDK.MIN_FLG == 1}class="lowest"{/if}{if $record.SOBA.3LDK.MAX_FLG == 1}class="highest"{/if}><a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 7, {$type})">{$record.SOBA.3LDK.YACHIN_AVG}</a></td>{/if}
{if $record.SOBA.4K.YACHIN_AVG == ""}<td>-</td>
{else}<td {if $record.SOBA.4K.MIN_FLG == 1}class="lowest"{/if}{if $record.SOBA.4K.MAX_FLG == 1}class="highest"{/if}><a href="javascript:GoRstobi({$SrhType}, '{$KeyCd}', 8, {$type})">{$record.SOBA.4K.YACHIN_AVG}</a></td>{/if}
</tr>
{/foreach}
</tbody>
<thead>
<tr>
<th class="center">{if $SrhType==1}地域{else}駅{/if}</th>

<th class="center">1R</th>

<th class="center">1K/1DK</th>

<th class="center">1LDK</th>

<th class="center">2K/2DK</th>

<th class="center">2LDK</th>

<th class="center">3K/3DK</th>

<th class="center">3LDK</th>

<th class="center">4K～</th>
</tr>
</thead>

</table>
<!-- /rentMarketTbl01 -->

{$hiddenTag}
</form>

<div id="requestBlock"><!--requestBlock-->
<div class="textBlock">
<h3><img src="/search_share/images/img_h3text.gif" width="462" height="26" alt="お目当ての地域・沿線の家賃相場がわかったなら" /></h3>
<p>次は、実際に物件を探してみましょう！</p>
</div>
<a href="http://www.apamanshop.com/info/request/"><img src="/search_share/images/img_request.jpg" alt="希望を伝えて待つだけ！プロがお部屋探し！！2ステップでかんたんリクエスト" /></a>
</div><!--requestBlock-->
</div>

<div class="returnBlock">
<a href="{$apm.baseurl}search/yachinsoubasearch/"><img src="/search_share/images/btn_back.gif" onmouseover="this.src='/search_share/images/btn_back_o.gif'" onmouseout="this.src='/search_share/images/btn_back.gif'" width="250" height="45" alt="地域を選び直す" /></a>
</div>
